import { http } from "@/utils/http";
//通过mark获取患者的干预措施
export const getAllInterventionApi = (mark:String)=>{
    return http({
        url:'/intervention/list',
        method:'GET',
        data:{mark}
    })
}
//通过intervention id获取详细的干预措施
export const getInterventionDetailsApi = (id:String)=>{
    return http({
        url:'/intervention',
        method:'GET',
        data:{id}
    })
}
//更改患者干预措施的学习状态
export const putUpdateInstitutionApi = (mark:string,tsInterventionId:string)=>{
    return http({
        url:'/intervention',
        method:'PUT',
        data:{mark,tsInterventionId}
    })
}